package cn.stylefeng.guns.modular.hx.storage.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.hx.storage.entity.HxStoragePut;
import cn.stylefeng.guns.modular.hx.storage.model.params.HxStoragePutDetailedParam;
import cn.stylefeng.guns.modular.hx.storage.model.params.HxStoragePutParam;
import cn.stylefeng.guns.modular.hx.storage.model.result.rukuPositionResult;
import cn.stylefeng.guns.modular.hx.storage.model.result.HxStoragePutResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 入库单表 服务类
 * </p>
 *
 * @author zhucx
 * @since 2023-08-14
 */
public interface HxStoragePutService extends IService<HxStoragePut> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2023-08-14
     */
    void add(HxStoragePutParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2023-08-14
     */
    void delete(HxStoragePutParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2023-08-14
     */
    void update(HxStoragePutParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2023-08-14
     */
    HxStoragePutResult findBySpec(HxStoragePutParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2023-08-14
     */
    List<HxStoragePutResult> findListBySpec(HxStoragePutParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2023-08-14
     */
     LayuiPageInfo findPageBySpec(HxStoragePutParam param,String condition,Long operateId);
     
     LayuiPageInfo findreturnPageBySpec(HxStoragePutParam param,String condition,Long operateId);

     /**
      * 查询入库单列表
      * @param hxStoragePutParam
      * @return
      */
	List<HxStoragePutResult> restfindstoragelist(HxStoragePutParam hxStoragePutParam);

	/**
	 * 查询入库单
	 * @param hxStoragePutParam
	 * @return
	 */
	HxStoragePutResult restfindstorage(HxStoragePutParam hxStoragePutParam);


    /**
     * 入库质检查询
     * @param hxStoragePutParam
     * @return
     */
    LayuiPageInfo getqualityuser(HxStoragePutParam hxStoragePutParam, String condition);


    /**
     * 上架信息查询
     * @param
     * @return
     */
    LayuiPageInfo shangjiauser(HxStoragePutDetailedParam hxStoragePutDetailedParam, String condition);

	List<HxStoragePutResult> restfindstoragereturnlist(HxStoragePutParam hxStoragePutParam);

    List<rukuPositionResult> findrukuposition(rukuPositionResult rukuPositionResult);


    List<HxStoragePutResult> findlistAllBySpec(HxStoragePutParam hxStoragePutParam, String condition, Long operateId);

    HxStoragePutResult count(HxStoragePutParam hxStoragePutParam, String condition, Long operateId);

    HxStoragePutResult count1(HxStoragePutParam hxStoragePutParam, String condition, Long operateId);

    List<HxStoragePutResult> listAll1(HxStoragePutParam hxStoragePutParam, String condition, Long operateId);
}
